package cn.wolfcode.shop.member.service.impl;

import cn.wolfcode.shop.member.domain.User;
import cn.wolfcode.shop.member.mapper.UserMapper;
import cn.wolfcode.shop.member.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User get(Long id) {
        return userMapper.get(id);
    }

}
